package C10_9_IntroduceParameterObject;

import java.util.Date;

/**
 * 账项
 */
public class Entry {
    private double _value;
    private Date _chargeDate;
    Entry(double value, Date chargeDate) {
        _value = value;
        _chargeDate = chargeDate;
    }
    public Date getDate() {
        return _chargeDate;
    }
    public double getValue() {
        return _value;
    }
}
